package com.lgx.mall.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lgx.common.web.Pagination;
import com.lgx.mall.business.dao.IRebateDao;
import com.lgx.mall.business.service.IRedateService;

@Service
public class RedateService implements IRedateService{
	@Autowired
	private IRebateDao rebateDao;

	public IRebateDao getRebateDao() {
		return rebateDao;
	}

	public void setRebateDao(IRebateDao rebateDao) {
		this.rebateDao = rebateDao;
	}

	
	@Override
	public Pagination findRebatePagination(String rebateStarTime,
			String rebateEndTime, int pageSize, int pageNum) {
		return rebateDao.findRebatePagination(rebateStarTime, rebateEndTime, pageSize, pageNum);
	}

}
